package xjtu.zd.server.staff.login.dao;

import org.apache.ibatis.annotations.Select;
import xjtu.zd.server.staff.login.SLoginDto;

public interface SLoginDao {

    @Select("select count(sta_id) from t_staff where sta_id=#{sta_id} and sta_pwd=#{sta_pwd}")
    int findStaffByIdAndPwd(SLoginDto dto);
}
